package com.blog.BO;

import java.util.Date;

/**
 * @author 蒲鑫
 * @function 功能：传输用户信息
 * @date 2023年5月25日
 */
public class UserBO {
	
	private int userId;//用户id

	private String userName;//用户名

	private String userPass;//用户密码

	private String userSex;//用户性别

	private Date userBirth;//用户生日
	
	private Date userStartBirth;//用户开始生日
	
	private Date userEndBirth;//用户结束生日

	private String userPhone;//用户电话

	private String userEmail;//用户邮箱

	private String individualResume;//个人简介

	private String userHeadImg;//用户头像

	private int experience;//累积经验

	private int userState;//用户状态（冻结/正常）

	private Date regDate;//注册时间

	private Date regStartDate;//用户注册开始时间
	
	private Date regEndDate;//用户注册结束时间

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPass() {
		return userPass;
	}

	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}

	public String getUserSex() {
		return userSex;
	}

	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}

	public Date getUserBirth() {
		return userBirth;
	}

	public void setUserBirth(Date userBirth) {
		this.userBirth = userBirth;
	}

	public Date getUserStartBirth() {
		return userStartBirth;
	}

	public void setUserStartBirth(Date userStartBirth) {
		this.userStartBirth = userStartBirth;
	}

	public Date getUserEndBirth() {
		return userEndBirth;
	}

	public void setUserEndBirth(Date userEndBirth) {
		this.userEndBirth = userEndBirth;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getIndividualResume() {
		return individualResume;
	}

	public void setIndividualResume(String individualResume) {
		this.individualResume = individualResume;
	}

	public String getUserHeadImg() {
		return userHeadImg;
	}

	public void setUserHeadImg(String userHeadImg) {
		this.userHeadImg = userHeadImg;
	}

	public int getExperience() {
		return experience;
	}

	public void setExperience(int experience) {
		this.experience = experience;
	}

	public int getUserState() {
		return userState;
	}

	public void setUserState(int userState) {
		this.userState = userState;
	}

	public Date getRegDate() {
		return regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}

	public Date getRegStartDate() {
		return regStartDate;
	}

	public void setRegStartDate(Date regStartDate) {
		this.regStartDate = regStartDate;
	}

	public Date getRegEndDate() {
		return regEndDate;
	}

	public void setRegEndDate(Date regEndDate) {
		this.regEndDate = regEndDate;
	}

	@Override
	public String toString() {
		return "UserBO [userId=" + userId + ", userName=" + userName + ", userPass=" + userPass + ", userSex=" + userSex
				+ ", userBirth=" + userBirth + ", userStartBirth=" + userStartBirth + ", userEndBirth=" + userEndBirth
				+ ", userPhone=" + userPhone + ", userEmail=" + userEmail + ", individualResume=" + individualResume
				+ ", userHeadImg=" + userHeadImg + ", experience=" + experience + ", userState=" + userState
				+ ", regDate=" + regDate + ", regStartDate=" + regStartDate + ", regEndDate=" + regEndDate + "]";
	}

	public UserBO(int userId, String userName, String userPass, String userSex, Date userBirth, Date userStartBirth,
			Date userEndBirth, String userPhone, String userEmail, String individualResume, String userHeadImg,
			int experience, int userState, Date regDate, Date regStartDate, Date regEndDate) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userPass = userPass;
		this.userSex = userSex;
		this.userBirth = userBirth;
		this.userStartBirth = userStartBirth;
		this.userEndBirth = userEndBirth;
		this.userPhone = userPhone;
		this.userEmail = userEmail;
		this.individualResume = individualResume;
		this.userHeadImg = userHeadImg;
		this.experience = experience;
		this.userState = userState;
		this.regDate = regDate;
		this.regStartDate = regStartDate;
		this.regEndDate = regEndDate;
	}

	public UserBO() {
		super();
	}

}
